<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
// 
//  microblog.php
//  www.6block.com
//  
//  Created by Will_Lee on 2011-05-17.
//  Copyright 2011 lishuzu. All rights reserved.
// 
//sina微博配置 t.sina.com
//配置账户lishuzu@gmail.com
define("SIXBLOCK_URL", 'http://test.6block.com/');
define( "SINA_WB_AKEY" , 'test' );
define( "SINA_WB_SKEY" , 'test' );
define( "SINA_WB_CALLBACK" , SIXBLOCK_URL.'login/sina_login' );
define( "SINA_WB_URL" , 'http://weibo.com/');
$config['sina_wb']	= array(
							'akey' => SINA_WB_AKEY,
							'skey' => SINA_WB_SKEY,
							'callback' => SIXBLOCK_URL.SINA_WB_CALLBACK,
							'url' => SINA_WB_URL,
						);
//腾讯微博 t.qq.com
//配置账户443938511
define( "QQ_WB_AKEY" , '' );
define( "QQ_WB_SKEY" , '' );
define( "QQ_WB_CALLBACK" , SIXBLOCK_URL.'login/qq_login' );
define( "QQ_WB_URL" , 'http://t.qq.com/');
define( "MB_RETURN_FORMAT", 'json');
define( "MB_API_HOST", 'open.t.qq.com');

$config['qq_wb']	= array(
							'akey' => QQ_WB_AKEY,
							'skey' => QQ_WB_SKEY,
							'callback' => SIXBLOCK_URL.QQ_WB_CALLBACK,
							'url' => QQ_WB_URL,
						);
//kaixin001.com
//配置账户6block.com@gmail.com
//正式
// define( "KX_WB_AKEY" , '' );
// define( "KX_WB_SKEY" , '' );
//测试
define( "KX_WB_AKEY" , '' );
define( "KX_WB_SKEY" , 'b03' );


define( "KX_WB_CALLBACK" , 'login/kaixin001_login' );
define( "KX_WB_URL" , 'http://www.kaixin001.com/' );
define( "KX_WB_ACTION" , 'http://www.kaixin001.com/rest/rest.php' );
define( "KX_WB_V", '1.0');

$config['kaixin001_wb'] = array(
	'api_key'=> KX_WB_AKEY, // api key
	'secret'=> KX_WB_SKEY,  // secret key
	'actionsurl' => KX_WB_ACTION,
	'agent' => 'http://rest.kaixin001.com/api/agent.html',	
	'appindexurl' => '/!app_',
	'callback' => SIXBLOCK_URL.KX_WB_CALLBACK,
	'v' => KX_WB_V,
	'url' => KX_WB_URL,
);
?>
